package com.codeyang.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 描述: describe
 *
 * @author CodeYang_Site
 * @version 2021/6/2 17:36
 */
@Component
@ConfigurationProperties(prefix = "alipay")
@Data
public class AliPayProperties {

    /**
     * 支付宝验签公钥
     * 私钥签名-公钥验证
     */
    public String publicKey = "";
    /**
     * 默认的字符集编码方式
     */
    private String charset = "utf-8";
    /**
     * 加密解密方式
     */
    private String signType = "RSA2";


}
